<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Affiliate extends MY_Controller {
    
    public function __construct()
    {
        parent::__construct(); 
        $this->load->model('affiliate_mod');
    }
    
	/**
     *   
     *    
     */
    public function index( )
    {        
        $data['menu_page'] = "affiliate"; // Koja je stranica. current menu item
        
        // Definisi koji se view ucitava
        $data['contents'] = 'affiliate/affiliate_home';
        
        $this->load->view('main',$data);
    }
    
   
}
/* End of file affiliate.php */
/* Location: ./application/controllers/affiliate.php */